package net.oschina.app.adapter;

import android.content.Context;
import android.view.ViewGroup;

import net.oschina.app.base.BaseHolder;
import net.oschina.app.base.MyBaseAdapter;
import net.oschina.app.holder.GeneralHolder;

import java.util.List;

public class GeneralAdapter extends MyBaseAdapter {
    public GeneralAdapter(Context context, List listData) {
        super(context, listData);
    }

    @Override
    public BaseHolder createViewHolder(Context context, ViewGroup parent, Object bean, int position) {
        GeneralHolder holder = new GeneralHolder(context,parent,this,position,bean);
        return holder;
    }
}